home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
setevent.zip
/
SETEVENT.DOC
< prev
next >
Wrap
Text File
|
1993-05-15
|
2KB
|
57 lines
+--------------------------[ SETEVENT Ver 1.00]-----------------------------+
| Written By Gary Meeker 05/15/93 Updated / / |
| SYSOP: SHARP Technical Support Line BBS Lawrenceville, GA |
| (404) 962-1788 300-14400 Baud. 24 Hours |
+---------------------------------------------------------------------------+
V1.00 05/15/93 - Initial Release
The purpose of SetEvent is to allow changing Event data without running
PCBSETUP. It is command line driven and allows a batch file to change the
event data easily. Now you can easily disable an event from DOS.
Syntax: SetEvent Event [/A:x] [/M:x] [/F:x] [/B:x] [/E:x] [/W:x] [/D:x] [/R:n]
Where: Event = Event to change
[/A:x] = Active, N=No, Y=Yes
[/M:x] = Mode, E=Expedite, S=Sliding
[/F:x] = Batch Filename
[/B:hh:mm] = Begin Time
[/E:hh:mm] = End Time
[/W:smtwtfs] = WeekDays to run on (place Y to run, N to not run in each day)
[/D:mm-dd-yy] = Date (if mm-dd-yy is blank, field is erased)
[/R:n] = Reset Last Date for Node n (if n is 'A' then all nodes are reset)
Example:
SetEvent 4 /A:N 'This would disable event 4
SetEvent 4 /A:Y 'This would enable event 4
SetEvent 1 /R:2 'This would reset Node 2 Last Run Date for event 1
SetEvent 1 /R:A 'This would reset ALL Nodes Last Run Date for event 1
SetEvent 5 /A:Y /M:E /F:TESTTHIS /B:04:00 /E:05:00 /W:NYYYYYN /D: /R:A
This would create an entire event as follows:
Batch Begin End Last Run
Act Mod File Time Time SMTWTFS Date ALL Nodes
═══ ═══ ════════ ═════ ═════ ═══════ ════════ ════════
5) Y E TESTTHIS 04:00-05:00 NYYYYYN 00-00-00
SetEvent 5 /A:N /M: /F: /B: /E: /W: /D: /R:A
This would erase an entire event as follows:
Batch Begin End Last Run
Act Mod File Time Time SMTWTFS Date ALL Nodes
═══ ═══ ════════ ═════ ═════ ═══════ ════════ ════════
5) N - NNNNNNN 00-00-00
Although NOTE: This will not delete the event and will leave a blank spot
in the file which may or may not cause a problem.
This is FREEWARE (but feel FREE to send money). Please direct any comments
to my BBS or leave me a message on SaltAir in the utilities conference.